<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>flex的方法居中</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="stylesheet" type="text/css" href="../css/common.css"/>
		<style type="text/css">
			.box{
				display: flex;
				justify-content: center;
				align-items: center;
			}
			.item{
				
			}
		</style>
	</head>
	<body>
		<div class="box">
			<div class="item">
				flex
			</div>
		</div>
	</body>
</html>
